$ var attrs = { '></div><script>alert("hi")</script>':true };

<div ...attrs/>